package jtk.project4.fleet.field;

import jtk.project4.fleet.domain.Equipment;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.ImageField;
import nl.coderight.jazz.form.field.MemoField;

public class EquipmentNotesField extends GroupControl {
	private MemoField notesField;

	public EquipmentNotesField(String bindID){
		setTitle("header.note");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields(){
		notesField = new MemoField();
		notesField.setRows(30);
		notesField.setColumns(40);
	}
	
	private void createLayout() {
		setLayout(new FormLayout())
		.addField(notesField)	.addLabel("");
		;
	}
}
